package com.suyang.syt.model.dto.app;

import java.util.List;

import com.suyang.syt.model.Banner;

/**轮播详情数据传输对象*/
public class AppBannerDTO {

	/** 轮播ID */
	private long id;
	/** 名称 */
	private String name;
	/** 图片集合 */
	private List<AppPicDTO> pics;
	
	public AppBannerDTO() {
		
	}
	
	public AppBannerDTO(Banner banner) {
		this.setId(banner.getId());
		this.setName(banner.getName());
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<AppPicDTO> getPics() {
		return pics;
	}

	public void setPics(List<AppPicDTO> pics) {
		this.pics = pics;
	}


}
